package com.billing.model.dao;

import org.apache.ibatis.annotations.Param;

import com.billing.model.entity.TUserEducation;
import com.billing.model.entity.TUserEducationBuffer;

public interface UserEducationBeanMapper {

	
	int insertTUserEducation(TUserEducation userEducation);
	/**
	 * 查询数据通过 userid
	 * @param userid
	 * @return
	 */
	TUserEducation selectUserEducationByUid(@Param("userid")String userid);
	/**
	 * 修改数据  
	 * @param userEducation
	 * @return
	 */
	public int updateUserEducation(TUserEducation userEducation);
	/**
	 * 通过id查询数据  
	 * @param id
	 * @return
	 */
	TUserEducation selectUserEducationById(@Param("id")String id);
	/**
	 * 修改数据通过userid  
	 * @param userEducation
	 * @return
	 */
	public int updateUserEducationByUserid(TUserEducation userEducation);
	/**
	 * 新增根据镜像
	 * @param educationBuffer
	 * @return
	 */
	public int insertByBuffer(TUserEducationBuffer educationBuffer);
	/**
	 * 修改根据镜像 
	 * @param educationBuffer
	 * @return
	 */
	public int updateByBuffer(TUserEducationBuffer educationBuffer);
}
